.action-detail-popup {
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  position: relative;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 关闭按钮 */
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

/* 动作图片区域 - 占据较大区域 */
.action-image-section {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

/* 动作内容区域 */
.action-content {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  background: #ffffff;
}

/* 动作名称 - 较大字号、加粗字体，十分醒目 */
.action-title {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 20px 0;
  text-align: center;
  letter-spacing: -0.5px;
}

/* 动作描述 - 简洁文字详细说明，文字排版整齐 */
.action-description {
  margin-bottom: 28px;
}

.action-description p {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin: 0;
  text-align: justify;
  letter-spacing: 0.3px;
}

/* 章节标题样式 */
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
}

/* 器械部分 */
.equipment-section {
  margin-bottom: 28px;
}

.equipment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 16px;
  border: 1px solid #e9ecef;
}

.equipment-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.equipment-name {
  font-size: 16px;
  color: #333333;
  font-weight: 600;
  text-align: center;
}

/* 动作要领 - 分点详细阐述 */
.action-points {
  margin-bottom: 28px;
}

.points-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.point-number {
  width: 24px;
  height: 24px;
  background: #FF6B35;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.point-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
  margin: 0;
  flex: 1;
  text-align: justify;
}

/* 关闭按钮 - 白色背景，橙色边框，橙色文字 */
.close-action-btn {
  width: 100%;
  height: 52px;
  background: #ffffff;
  border: 2px solid #FF6B35;
  color: #FF6B35;
  border-radius: 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.close-action-btn:hover {
  background: rgba(255, 107, 53, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.close-action-btn:active {
  transform: scale(0.98);
}

/* 响应式设计 */
@media (max-width: 375px) {
  .action-content {
    padding: 20px;
  }
  
  .action-title {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 16px;
  }
  
  .action-description p {
    font-size: 15px;
  }
  
  .point-text {
    font-size: 14px;
  }
  
  .action-image-section {
    height: 240px;
  }
}

/* 滚动条样式 */
.action-content::-webkit-scrollbar {
  width: 4px;
}

.action-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.action-content::-webkit-scrollbar-thumb {
  background: #FF6B35;
  border-radius: 2px;
}

.action-content::-webkit-scrollbar-thumb:hover {
  background: #E55A2B;
}

/* 底部弹窗动画 */
.adm-popup-wrap[data-position="bottom"] {
  animation: slideUpFromBottom 0.3s ease-out;
}

@keyframes slideUpFromBottom {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* 弹窗关闭动画 */
.adm-popup-wrap[data-position="bottom"].adm-popup-wrap-hidden {
  animation: slideDownToBottom 0.3s ease-in;
}

@keyframes slideDownToBottom {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

/* 确保图片完全填充容器 */
.action-image-section .adm-image {
  width: 100%;
  height: 100%;
}

.action-image-section .adm-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}